﻿/*----------------------------------------------------------------
 * 
 * 版权所有：Copyright (C) 2013
 * 
 * 文件名：DataAccessProduct.cs
 * 文件功能描述：
 * 
 * 
 * 作 者：
 * 邮 箱：ifunnyface@outlook.com
 * 日 期：2013-01-07 15:13:19 
 * 
 * 
 * 修改标识： Author
 * 修改描述： 相关描述
 * 
 * ---------------------------------------------------------------- */

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DomainModel
{

    /// <summary>
    /// 
    /// </summary>
    public class ProductPartitionInfo
    {

        /// <summary>
        /// 
        /// </summary>
        public ProductPartitionInfo()
        {
            // TODO:
        }


        /// <summary>
        /// 类别Id
        /// </summary>
        public string PartitionId { get; set; }


        /// <summary>
        /// 类别名
        /// </summary>
        public string Name { get; set; }


        /// <summary>
        /// 类别描述
        /// </summary>
        public string Description { get; set; }


        /// <summary>
        /// 父类别Id
        /// </summary>
        public string ParentId { get; set; }


        /// <summary>
        /// 是否启用 0=禁用，1=启用
        /// </summary>
        public int Enabled { get; set; }


        /// <summary>
        /// 排序号
        /// </summary>
        public int SortNumber { get; set; }


        /// <summary>
        /// 层级 
        /// </summary>
        public int Level { get; set; }


        /// <summary>
        /// 是否有子 0=否、1=是
        /// </summary>
        public int HasChildren { get; set; }


        /// <summary>
        /// 是否在首页显示
        /// </summary>
        public int ShowInt { get; set; }


        /// <summary>
        /// 子集分类
        /// </summary>
        public virtual IList<ProductPartitionInfo> Children { get; set; }


        /// <summary>
        /// 子集分类
        /// </summary>
        public virtual IList<ProductInfo> Products { get; set; }



        public virtual ProductPartitionInfo ProductPartition { get; set; }



    }

}